package com.example.mideaoem.model;

/**
 * 除湿机功能类
 * @author Johnny
 *
 */
public class HumiFunctions {

	public static final int Motor_normal = 0;//没有无极风
	public static final int Motor_wuji = 1;//无极风
	public static final int Motor_Level1 = 2;//有风，无风
	public static final int Motor_Level2 = 3;//高，低
	public static final int Motor_Level3 = 4;//低，高，自动
	public static final int Motor_Level4 = 5;//低，中，高，自动
	public static final int Motor_Level5 = 6;//静音，低，中，高，自动
	public static final int Motor_Level6 = 7;//低，中，高
	
	
	public int MotorType = 1;
	public int humi;
	public int light;
	
	public boolean High;		//高
	public boolean Middle;		//中
	public boolean Low;			//低
	public boolean Strong;		//强劲
	public boolean Auto;		//自动
	public boolean NoPolar;		//无极调速
	
	public void setAsDefault(){
		MotorType = 7;
		humi = 3;
		light = 2;
	}
	
	@Override
	public String toString() {
//		return new Gson().toJson(this);
		return "{\"MotorType\":"+MotorType+","+"\"humi\":"+humi+","+ "\"light\":"+light+"}";
	}
	
	
}
